package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考核管理对象 zzb_sum
 * 
 * @author pluto_xun@qq.com
 * @date 2020-12-11
 */
public class Sum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 总结ID */
    private Long sumId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 提交时间 */
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 分值，0-5分 */
    @Excel(name = "分值，0-5分")
    private Integer mark;

    /** 状态，0未提交，1提交 */
    @Excel(name = "状态，0未提交，1提交")
    private Integer status;

    /** 评价状态，0领导未评，1领导已评 */
    @Excel(name = "评价状态，0领导未评，1领导已评")
    private Integer rated;

    public void setSumId(Long sumId) 
    {
        this.sumId = sumId;
    }

    public Long getSumId() 
    {
        return sumId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }
    public void setMark(Integer mark) 
    {
        this.mark = mark;
    }

    public Integer getMark() 
    {
        return mark;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRated(Integer rated) 
    {
        this.rated = rated;
    }

    public Integer getRated() 
    {
        return rated;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sumId", getSumId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("submitTime", getSubmitTime())
            .append("mark", getMark())
            .append("status", getStatus())
            .append("rated", getRated())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
